body {
    /*overflow: auto !important;*/
    margin: 0 !important;
    font-size: var(--font-size);
    font-family: var(--font-family);
    font-weight: var(--font-weight);
}

html {
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.button-auto-resize {
    height: calc(var(--font-size) * 2) !important;
    width: calc(var(--font-size) * 2) !important;
    font-size: var(--font-size) !important;
}

.font-auto-resize {
    font-size: var(--font-size) !important;
}

.input-auto-resize {
    height: calc(var(--font-size) * 2) !important;
    width: 100% !important;
    font-size: var(--font-size) !important;
}

.full-percent {
    width: 100%;
    height: 100%;
}

:root {
    --background: rgba(232, 232, 232, .6);
    --font-color: rgba(0, 0, 0, 1);
    --header-foot-color: white;
    --header-foot-background: rgba(0, 0, 0, .4);
    --font-size: 16px;
    --font-size-base: var(--font-size);
    --font-family: font2, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
        Helvetica Neue, PingFang SC, Noto Sans, Noto Sans CJK SC, Microsoft YaHei,
        微软雅黑, sans-serif;
    --border-radius: 3px;
    --font-weight: '';
    /*--background-image: url("@/assets/image/bg.jpg");*/
    --button-color: rgba(226, 226, 226, .5);
    --error-font-color: red;
    --border-color: #dcdfe6;
    --el-table-header-background: rgba(190, 190, 190, .4);

    .el-input__wrapper.is-focus {
        box-shadow: 0 0 0 1px var(--el-border-color-hover) inset;
    }

    .el-input__wrapper {
        background: rgba(255, 255, 255, .5);
    }
}

.dark {
    /*--background-image: url("@/assets/image/background.jpg");*/
    background: #303133;
    --border-color: #999ca3;
    --background: rgba(175, 175, 175, .5);
    --font-color: rgb(255 249 217);
    --el-text-color-primary: var(--font-color);
    --el-border-color-light: #b5b5b5;
    --header-foot-background: rgba(119, 119, 119, .4);
    --el-fill-color-blank: rgba(131, 131, 131, .4);
    --el-border-color-lighter: rgba(111, 111, 111, .9);
    --el-bg-color: rgba(131, 131, 131, .4);
    --el-fill-color-lighter: rgba(131, 131, 131, .4);
    --el-fill-color-light: rgba(170, 170, 170, 0.7);
    --el-border-color: rgba(180, 180, 180, 0.9);
    --button-color: #797979;
    --el-color-primary-light-7: #797979;
    --el-color-primary-light-9: #797979;
    --el-color-primary-light-8: #868686;
    --error-font-color: rgba(255, 255, 255, .8);
    --el-text-color-regular: #e9e9e9;
    --el-text-color-secondary: #ffffff;
    --el-disabled-bg-color: rgba(255, 255, 255, .2);
    --el-color-primary: rgba(174, 174, 174, .9);

    .aie-content div.warning {
        --aie-content-container-warning-color: rgba(155, 155, 155, .6);
    }

    .el-pagination {
        --el-pagination-button-bg-color: var(--background)
    }

    .el-card {
        --el-card-border-color: rgb(197 197 197 / 50%)
    }

    .el-tabs__item.is-active,
    .el-tabs__item:hover {
        color: rgb(249 255 0 / 90%);
    }

    .el-collapse {
        --el-collapse-header-bg-color: rgba(161, 161, 161, .8);
        --el-collapse-content-bg-color: rgba(161, 161, 161, .8);
    }

    .el-collapse-item__header {
        color: #80c0ed !important;
    }

    .el-collapse-item__header {
        color: #ededed !important;
    }

    .el-collapse-item__wrap {
        border-bottom: 1px solid rgb(183 183 183 / 75%);
    }

    .el-descriptions {
        --el-descriptions-table-border: 1px solid rgb(221 221 221 / 50%);
    }
}

.flex-display-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/*去除聚焦的蓝色边框*/
:focus {
    outline: 0 !important;
}

[v-cloak] {
    display: none !important;
}

/*取消tabs的页签蓝色边框*/
.el-tabs__item:focus.is-active.is-focus:not(:active) {
    box-shadow: none !important;
}

input[type="text"]::-webkit-input-placeholder {
    position: relative;
    top: 1px;
}


::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 5px solid transparent;
}

::-webkit-scrollbar-thumb {
    min-height: 50px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .3) inset;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/*el-col 占位用*/
.placeholder {
    border: 1px solid transparent
}

.forbid-select {
    -moz-user-select: none !important;
    /*火狐*/
    -webkit-user-select: none !important;
    /*webkit浏览器*/
    -ms-user-select: none !important;
    /*IE10*/
    -khtml-user-select: none !important;
    /*早期浏览器*/
    user-select: none !important;
}

.only-disabled-style {
    font-family: inherit !important;
    background-color: #F6F6F6 !important;
    line-height: 15px !important;
    padding-top: 7px !important;
    height: 32px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.no-wrap {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

p,
div {
    cursor: default;
}

.default-style {
    font-size: 16px;
    font-weight: var(--font-weight);
}

.el-radio.el-radio--large .el-radio__inner {
    width: 16px !important;
    height: 16px !important;
}

.el-radio.el-radio--large .el-radio__label {
    font-size: 16px !important;
    position: relative;
    bottom: 2px;
}

.el-collapse,
.el-collapse-item__header {
    font-family: var(--font-family);
}

.el-button.is-disabled,
.el-button.is-disabled:hover {
    cursor: default !important;
}

.el-button+.el-button {
    margin-left: 5px !important;
}

.el-message-box {
    min-width: fit-content;
    position: absolute !important;
    top: 25vh;
    margin: auto;
    left: 0;
    right: 0;
}

.el-message-box__status+.el-message-box__message {
    font-size: var(--font-size) !important;
}

.el-message-box__content {
    padding: 5px 15px !important;
}

.el-message-box__title {
    font-size: calc(var(--font-size) + 3px) !important;
}

.el-message-box__message p {
    line-height: calc(var(--font-size) + 15px) !important;
}

.el-divider {
    margin: 5px 0 !important;
    background-color: #fff !important;
    margin-bottom: 0 !important;
    border: 0 !important
}

body .el-tag {
    width: 100% !important;
}

.el-table {
    font-size: var(--font-size) !important;
}

.el-table__row,
.el-table__header {
    height: calc(var(--font-size) * 2.5) !important;
}

.el-table .cell {
    line-height: calc(var(--font-size) + 6px) !important;
}


.el-popper__arrow,
.el-popper__arrow::after {
    border-style: none !important;
    /*去掉下拉框的三角*/
    display: none !important;
}

.el-popper {
    margin-top: -10px;
}

.el-input__inner,
.el-select__wrapper {
    font-family: inherit;
    font-weight: var(--font-weight);
}

.el-table-header-cell {
    text-align: center !important;
    background: var(--background) !important;
    /* border: 0 !important; */
}

.el-table-cell {
    text-align: center !important;
    padding: 2px !important;
}

.full-in-main {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: var(--border-radius);
    position: relative;
}

.el-pagination button.is-disabled,
.el-pagination button:disabled {
    cursor: default;
}

.el-pager li,
.el-pagination button {
    width: calc(var(--font-size) * 2);
    height: calc(var(--font-size) * 2);
    font-size: var(--font-size);
    font-weight: bold
}

.main-page {
    width: 100%;
    height: 100%;
}

.mobile .el-table {
    --font-size: 12px
}

.el-tabs__nav-wrap:after {
    background-color: rgb(255 255 255 / 20%);
}

.el-picker-panel__shortcut {
    font-family: inherit;
}

.el-date-table-cell {
    cursor: pointer;
}

html .el-overlay {
    backdrop-filter: blur(5px);
}